package com.eugenezadyra.rsstotwitter.model;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;

/**
 * @author eugene zadyra
 */
@Entity(name = "twitter_message_queue")
public class TwitterMessageQueue extends AbstractEntity{
	@ManyToOne
	@JoinColumn(name = "feed_message_id")
	private FeedMessage feedMessage;
	@ManyToOne
	Twitter twitter;
	private Boolean sent;

	public FeedMessage getFeedMessage() {
		return feedMessage;
	}

	public void setFeedMessage(FeedMessage feedMessage) {
		this.feedMessage = feedMessage;
	}

	public Twitter getTwitter() {
		return twitter;
	}

	public void setTwitter(Twitter twitter) {
		this.twitter = twitter;
	}

	public Boolean getSent() {
		return sent;
	}

	public void setSent(Boolean sent) {
		this.sent = sent;
	}
}
